package com.fengchao.model.entity.comm;

import java.util.HashMap;

/**
 * 基础
 * Created by wangnian on 2016/6/3.
 */
public class Message {

    public static final String USER_ID = "userId";

    public static final String SUCCESS = "SUCCESS";
    public static final String FAILURE = "FAILURE";
    public static final String TOKEN_INVALID = "RELOGIN";

    private Integer userId;
    private Boolean isSuccess;
    private String message;
    private HashMap<Object, Object> map;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Boolean getSuccess() {
        return isSuccess;
    }

    public void setSuccess(Boolean success) {
        isSuccess = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public HashMap<Object, Object> getMap() {
        return map;
    }

    public void setMap(HashMap<Object, Object> map) {
        this.map = map;
    }
}
